package generic;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import com.sun.istack.internal.FinalArrayList;

public class PECS {
	public static void main(String[] args) {
		//上限为List
		List<? extends List> list1 = new ArrayList<List>(); 
		List<? extends List> list2 = new ArrayList<ArrayList>(); 
		List<? extends List> list3 = new ArrayList<FinalArrayList>();
		//List<? extends CharArray> list3 = new ArrayList<Collection>();
//		list1.add(new ArrayList());
		

		//下限为List
		List<? super List> list11 = new ArrayList<List>(); 
//		List<? super List> list12 = new ArrayList<ArrayList>(); 
		List<? super List> list13 = new ArrayList<Collection>();
		list11.add(new ArrayList());

	}
}
